﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace AddressManager.Controls.UserControls.MessageBox
{
    public partial class ErrorMessageBox : ChildWindow
    {
        public ErrorMessageBox(Exception e)
        {
            InitializeComponent();

            Exception = e;
        }

        public Exception Exception { get; set; }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }
    }
}